  MONSTER HUNTER FREEDOM UNITE SAVE TOOLS v1
    by HenryEx


  >>> What can you do with this?

- Extract character data and downloaded missions from your save
- Delete characters from your save
- Unlock the downloadable bonus content in your save
- Import packed DLC or custom quests
- Probably convert saves between the three supported regions
- Download the official quests for MHFU without a PSP


  >>> How do I start?

- Copy the files MHP2NDG.BIN and PARAM.SFO to your MHFU Save Tools directory.
  You will find these on the memory stick in these folders:
    * ULES01213 for Monster Hunter Freedom Unite (European)
    * ULUS10391 for Monster Hunter Freedom Unite (American)
    * ULJM05500 for Monster Hunter Portable 2ndG (Japanese)
- Start the script "save tools.bat".


  >>> What do I choose? How does this work?

- Decrypt: In most cases, choose PSP Save Decryption, then Game Save decryption.
  Your decrypted save files will now be in the folder "savedata".

- Get Quests: Use the Quest Downloader or start "quest downloads.bat" to get official quests directly from CAPCOM's servers.
  Alternatively, copy up to six .mib quest files into your "savedata" folder and enter their file names in "savedata\questlist.txt".

- Encrypt: Choose Game Save encryption, and then add PSP Save encryption.
  You can now copy the updated MHP2NDG.BIN and PARAM.SFO back onto the memory stick.



  >>>>>> OTHER QUESTIONS <<<<<<


  >>> What are these .bat files?

- "save tools.bat": This is the main script to handle save games.
- "quest downloads.bat": A script to download quests from CAPCOM.
- "quest packing.bat": A script to pack and unpack quests, useful for importing custom made quests into your save.


  >>> Where can I see quest details?

  For reasons of limited space and my sanity, I only list the English quest title and the file name in the Quest Downloader. There is a helpful guide by vnctdj with screenshots of the quest details at the following link, which I recomment using.
    http://forums.ppsspp.org/showthread.php?tid=5476


  >>> How does questlist.txt work? 

  This is a list of quest files to import into the save, located in the "savedata" folder. Copy quest files into the "savedata" folder and then add their names to the TOP of the list! Alternatively, the Quest Downloader can do this automatically if a questlist.txt exists.
  You can delete questlist.txt if you don't want to import any quests.

  !CAUTION! Add the name to the top of the list!
  !CAUTION! questlist.txt MUST end with the line "EOF"!

  Example questlist.txt content:

m60033.mib
m60024.mib
customquest1.mib
EOF


  >>> Custom quests?

  You can use "quest packer.bat" to convert quests.

- Unpack .mib files into .bin files, which can be edited. They can, for example be used as a template in the Chinese custom quest editor.
- Pack custom quests of the formats .bin, .pat or .mem into a .mib file, which can be inserted into your save file.

  !CAUTION! The script currently cannot handle quest file names that begin with a number! If you want to make sure that a custom quest gets imported correctly, make sure that the file name doesn't start with a number.



  >>>>>> KNOWN BUGS <<<<<<

- During Game Save encryption, trying to import a questfile that starts with a numerical character will lead to an error. Make sure that the file name doesn't start with a number.



  >>>>>> THANKS AND CREDITS <<<<<<

- QuickBMS, the script engine on which this works. Made by Luigi Auriemma.
  http://aluigi.altervista.org/quickbms.htm

- SED-PC, a PC port of SED by hgoel0974, used for handling PSP encryption.
  https://github.com/hgoel0974/SED-PC

- The PPSSPP team, whose PSP emulator helped me figure out CAPCOM's encryption.
  http://www.ppsspp.org/

- svanheulen (Seth VanHeulen), whose documentation helped me with the quest downloader.
  https://github.com/svanheulen/mhef/wiki/DLC-Website

- vnctdj, for his helpful quest list with screenshots and help in testing.
